home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr37
/
wcols50.zip
/
PRODUCTS.WCX
(
.txt
)
< prev
next >
Wrap
Wildcat! WCX
|
1995-04-10
|
46KB
|
1,141 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 46026 bytes 01/29/123 04:31:52pm
'! Code Segment Size :21366 bytes
'! Data Segment Size :6076 bytes
'! String Segment Size:24660 bytes
'! Compiled with WCC version 4.10
Type Type28
s0 As String*20
s20 As String*10
s30 As String*50
s80 As String*50
s130 As String*50
s180 As String*8
s188 As String*13
s201 As String*6
s207 As String*4
s211 As String*4
s215 As String*4
End Type
Type Type27
s0 As String*25
s25 As String*25
s50 As String*25
s75 As String*25
s100 As String*25
s125 As String*25
s150 As String*25
s175 As String*25
s200 As String*25
s225 As String*25
s250 As String*25
s275 As String*25
s300 As String*25
s325 As String*25
s350 As String*25
s375 As String*25
s400 As String*25
s425 As String*25
s450 As String*25
s475 As String*25
s500 As String*25
s525 As String*25
s550 As String*25
s575 As String*25
s600 As String*25
s625 As String*25
s650 As String*25
s675 As String*25
s700 As String*25
s725 As String*25
s750 As String*25
s775 As String*25
s800 As String*25
s825 As String*25
s850 As String*25
s875 As String*25
s900 As String*25
s925 As String*25
s950 As String*25
s975 As String*25
End Type
Type Type26
Filler0(1 To 8) As Byte
s8 As String*25
End Type
Dim s4463 As String
Dim t28_4467 As Type28
Dim t26_4686 As Type26
Dim i4904 As Integer
Dim i4906 As Integer
Dim i4908 As Integer
Dim s4910 As String
Dim s4914 As String
Dim i4918 As Integer
Dim s4932 As String
Dim s4936 As String
Dim s4940 As String
Dim w4944 As Word
Dim s4946 As String
Dim s4950 As String
Dim s4954 As String
Dim i4958 As Integer
Dim s4960 As String
Dim s4964 As String
Dim s4968 As String
Dim i4972 As Integer
Dim s4974 As String
Dim s4978 As String
Dim s4982 As String
Dim s4986 As String
Dim w4990 As Word
Dim l4992 As Long
Dim s4996 As String
Dim l5000 As Long
Dim s5004 As String
Dim s5008 As String
Dim s5012 As String
Dim s5016 As String
Dim s5020 As String
Dim s5024 As String
Dim s5028 As String
Dim s5032 As String
Dim s5036 As String
Dim s5040 As String
Dim t27_5046 As Type27
Dim s6046 As String
Dim s6054 As String
Dim i6058 As Integer
Dim i6060 As Integer
Dim s6064 As String
Dim s6068 As String
Dim s6072 As String
Dim s65520_ As String
Dim s65524_ As String
Dim s65528_ As String
Dim s65532_ As String
s4463 = "5.0"
StatusOpen 1
StatusWrite " Online Store v" + s4463 + " COPYRIGHT (C) 1995 Online Real Estate Consulting", 1213417543, 1213417543, 1213417543
Open "OLS.CFG" For Input As 1
Input #1, s4986
Input #1, w4990
Input #1, l4992
Input #1, s5004
Input #1, s5008
Input #1, s5012
Input #1, s5016
Input #1, s5020
Input #1, s5024
Input #1, s5028
Input #1, s5032
Input #1, s5036
Input #1, s5040
Close 1
s4996 = Right(MakeWild.RegString, 2)
l5000 = Val(s4996) * Val(s4996) * Val(s4996) + 1000000
If l5000 <> l4992 Then
s4946 = "UNREGISTERED"
Else
298 s4946 = "REGISTERED"
End If
307 s4914 = Chr(34) + Chr(44) + Chr(34)
If UCase(User.SecLevel) = "SYSOP" Then
Else
362 If UCase(User.SecLevel) = s5004 Then
Else
393 If UCase(User.SecLevel) = s5008 Then
Else
424 If UCase(User.SecLevel) = s5012 Then
Else
455 If UCase(User.SecLevel) = s5016 Then
Else
486 If UCase(User.SecLevel) = s5020 Then
Else
517 If UCase(User.SecLevel) = s5024 Then
Else
548 If UCase(User.SecLevel) = s5028 Then
Else
579 If UCase(User.SecLevel) = s5032 Then
Else
610 If UCase(User.SecLevel) = s5036 Then
Else
641 If UCase(User.SecLevel) = s5040 Then
Else
672 Locate 20, 1
Color 14, 0
Print "Your present security level does not permit this selection."
Delay 3
Chain s4986 + "VIEWOLS.WCX", ""
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
End If
721 If Exists(s4986 + "MERCHANT.DAT") Then
Open s4986 + "MERCHANT.DAT" For Random As 3 Len = 218 '! This value should probably be replaced with a "SizeOf" expression
i4958 = 1
Do
774 Get 3, i4958, t26_4686 '! 218 bytes
If UCase(User.Name) = UCase(t26_4686.s8) Then
s4932 = s4986 + Str(i4958) + "\"
Close 3
i4972 = 0
GoTo 916
End If
865 i4958 = i4958 + 1
Loop While Not EOF(3)
Close 3
Chain s4986 + "VIEWOLS.WCX", ""
End If
Do
916 If Exists(s4932 + "CAT.CFG") Then
Open s4932 + "CAT.CFG" For Random As 3 Len = 1000 '! This value should probably be replaced with a "SizeOf" expression
Do
963 Get 3, -1, t27_5046 '! 1000 bytes
Loop While Not EOF(3)
Close 3
End If
995 Color 14, 0
If i4972 = 3 Then
Chain s4986 + "VIEWOLS.WCX", ""
End If
1035 i4972 = i4972 + 1
Cls
MorePrompt(0)
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@┌──────────────────────────────────────────────────────┐@1E@░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ @1E@ Online Store - Stock Room @1F@ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@1@1F@] @1F@Add/Browse/Edit/Delete Current Inventory @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@2@1F@] @1F@Upload Comma-Delimited Inventory File @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@3@1F@] @1F@Download Comma-Delimited Inventory File @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@4@1F@] @1F@Upload Attachment Files @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@5@1F@] @1F@Edit Category Names @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@6@1F@] @1F@Edit Shipping Charges @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@X@1F@] Exit To The Store Lobby @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@├──────────────────────────────────────────────────────┤@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ @1E@Your Command: @0E@[ ]@1E@ @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@└──────────────────────────────────────────────────────┘@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░@07@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Locate 15, 14
s4982 = InputMask("@1E@Please enter your system password: @0E@", "XXXXXXXXXXXXXX", "", 1)
If (UCase(s4982) <> UCase(User.Password)) = 0 Then GoTo 1360
Locate 15, 14
Print "@1E@Invalid Password. Please Enter A Valid Password. "
Locate 15, 62
Delay 3
Loop
Do
Do
Do
Do
Do
Do
Do
Do
1360 Cls
MorePrompt(0)
s4940 = "NO"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@┌──────────────────────────────────────────────────────┐@1E@░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ @1E@ Online Store - Stock Room @1F@ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ │@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@1@1F@] @1F@Add/Browse/Edit/Delete Current Inventory @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@2@1F@] @1F@Upload Comma-Delimited Inventory File @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@3@1F@] @1F@Download Comma-Delimited Inventory File @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@4@1F@] @1F@Upload Attachment Files @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@5@1F@] @1F@Edit Category Names @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@6@1F@] @1F@Edit Shipping Charges @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ [@1E@X@1F@] Exit To The Store Lobby @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@├──────────────────────────────────────────────────────┤@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@│ @1E@Your Command: @0E@[ ]@1E@ @1F@│@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░@1F@└──────────────────────────────────────────────────────┘@07@░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░@07@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@1E@░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Print "@1E@░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░@07@"
Locate 15, 30
s4964 = ""
Do
Do
1591 s4964 = InKey(1213417543)
Loop Until s4964 <> ""
s65532_ = UCase(s4964)
If s65532_ = "X" Then
Chain s4986 + "VIEWOLS.WCX", ""
Else
1673 If s65532_ = "1" Then
GoTo 10455
Else
1702 If s65532_ = "2" Then
GoTo 7201
Else
1731 If s65532_ = "3" Then
GoTo 17879
Else
1760 If s65532_ = "4" Then
GoTo 19680
Else
1789 If s65532_ = "5" Then
GoTo 3283
Else
1818 If s65532_ = "6" Then
GoTo 1882
Else
1847 If s65532_ = "?" Then
GoTo 6853
GoTo 1876
End If
End If
End If
End If
End If
End If
End If
End If
1876 Loop
1882 Cls
Print " @08@│ @08@[@0E@ 1@08@] @0F@" + Pad(t27_5046.s0, 25) + " @08@[@0E@21@08@] @0F@" + Pad(t27_5046.s500, 25) + " @08@│"
Print "@0F@ P @08@│ @08@[@0E@ 2@08@] @0F@" + Pad(t27_5046.s25, 25) + " @08@[@0E@22@08@] @0F@" + Pad(t27_5046.s525, 25) + " @08@│@0F@ P"
Print "@0F@ R @08@│ @08@[@0E@ 3@08@] @0F@" + Pad(t27_5046.s50, 25) + " @08@[@0E@23@08@] @0F@" + Pad(t27_5046.s550, 25) + " @08@│@0F@ R"
Print "@0F@ O @08@│ @08@[@0E@ 4@08@] @0F@" + Pad(t27_5046.s75, 25) + " @08@[@0E@24@08@] @0F@" + Pad(t27_5046.s575, 25) + " @08@│@0F@ O"
Print "@0F@ D @08@│ @08@[@0E@ 5@08@] @0F@" + Pad(t27_5046.s100, 25) + " @08@[@0E@25@08@] @0F@" + Pad(t27_5046.s600, 25) + " @08@│@0F@ D"
Print "@0F@ U @08@│ @08@[@0E@ 6@08@] @0F@" + Pad(t27_5046.s125, 25) + " @08@[@0E@26@08@] @0F@" + Pad(t27_5046.s625, 25) + " @08@│@0F@ U"
Print "@0F@ C @08@│ @08@[@0E@ 7@08@] @0F@" + Pad(t27_5046.s150, 25) + " @08@[@0E@27@08@] @0F@" + Pad(t27_5046.s650, 25) + " @08@│@0F@ C"
Print "@0F@ T @08@│ @08@[@0E@ 8@08@] @0F@" + Pad(t27_5046.s175, 25) + " @08@[@0E@28@08@] @0F@" + Pad(t27_5046.s675, 25) + " @08@│@0F@ T"
Print " @08@│ @08@[@0E@ 9@08@] @0F@" + Pad(t27_5046.s200, 25) + " @08@[@0E@29@08@] @0F@" + Pad(t27_5046.s700, 25) + " @08@│"
Print "@0F@ C @08@│ @08@[@0E@10@08@] @0F@" + Pad(t27_5046.s225, 25) + " @08@[@0E@30@08@] @0F@" + Pad(t27_5046.s725, 25) + " @08@│@0F@ C"
Print "@0F@ A @08@│ @08@[@0E@11@08@] @0F@" + Pad(t27_5046.s250, 25) + " @08@[@0E@31@08@] @0F@" + Pad(t27_5046.s750, 25) + " @08@│@0F@ A"
Print "@0F@ T @08@│ @08@[@0E@12@08@] @0F@" + Pad(t27_5046.s275, 25) + " @08@[@0E@32@08@] @0F@" + Pad(t27_5046.s775, 25) + " @08@│@0F@ T"
Print "@0F@ E @08@│ @08@[@0E@13@08@] @0F@" + Pad(t27_5046.s300, 25) + " @08@[@0E@33@08@] @0F@" + Pad(t27_5046.s800, 25) + " @08@│@0F@ E"
Print "@0F@ G @08@│ @08@[@0E@14@08@] @0F@" + Pad(t27_5046.s325, 25) + " @08@[@0E@34@08@] @0F@" + Pad(t27_5046.s825, 25) + " @08@│@0F@ G"
Print "@0F@ O @08@│ @08@[@0E@15@08@] @0F@" + Pad(t27_5046.s350, 25) + " @08@[@0E@35@08@] @0F@" + Pad(t27_5046.s850, 25) + " @08@│@0F@ O"
Print "@0F@ R @08@│ @08@[@0E@16@08@] @0F@" + Pad(t27_5046.s375, 25) + " @08@[@0E@36@08@] @0F@" + Pad(t27_5046.s875, 25) + " @08@│@0F@ R"
Print "@0F@ I @08@│ @08@[@0E@17@08@] @0F@" + Pad(t27_5046.s400, 25) + " @08@[@0E@37@08@] @0F@" + Pad(t27_5046.s900, 25) + " @08@│@0F@ I"
Print "@0F@ E @08@│ @08@[@0E@18@08@] @0F@" + Pad(t27_5046.s425, 25) + " @08@[@0E@38@08@] @0F@" + Pad(t27_5046.s925, 25) + " @08@│@0F@ E"
Print "@0F@ S @08@│ @08@[@0E@19@08@] @0F@" + Pad(t27_5046.s450, 25) + " @08@[@0E@39@08@] @0F@" + Pad(t27_5046.s950, 25) + " @08@│@0F@ S"
Print " @08@│ @08@[@0E@20@08@] @0F@" + Pad(t27_5046.s475, 25) + " @08@[@0E@40@08@] @0F@" + Pad(t27_5046.s975, 25) + " @08@│"
s6046 = InputMask("Category [@0F@##@0E@] to edit, [@0F@Q@0E@]uit. ", "XX", "", 1213417543)
Open s4932 + s6046 + "SHIP.CFG" For Input As 2
Input #2, i4904
Input #2, i4906
Input #2, i4908
Close 2
Cls
Print "Enter shipping charges as follows: $8.00 entered as 800, $13.00 entered as 1300"
Print ""
i4904 = InputNumber("Ground shipping, per pound. ", 0, 9999)
i4906 = InputNumber("2nd Day Air shipping, per pound. ", 0, 9999)
i4908 = InputNumber("Overnight shipping, per pound. ", 0, 9999)
Open s4932 + s6046 + "SHIP.CFG" For Output As 2
Print #2, i4904
Print #2, i4906
Print #2, i4908
Close 2
Loop
Do
3283 Cls
Print " @08@│ @08@[@0E@ 1@08@] @0F@" + Pad(t27_5046.s0, 25) + " @08@[@0E@21@08@] @0F@" + Pad(t27_5046.s500, 25) + " @08@│"
Print "@0F@ P @08@│ @08@[@0E@ 2@08@] @0F@" + Pad(t27_5046.s25, 25) + " @08@[@0E@22@08@] @0F@" + Pad(t27_5046.s525, 25) + " @08@│@0F@ P"
Print "@0F@ R @08@│ @08@[@0E@ 3@08@] @0F@" + Pad(t27_5046.s50, 25) + " @08@[@0E@23@08@] @0F@" + Pad(t27_5046.s550, 25) + " @08@│@0F@ R"
Print "@0F@ O @08@│ @08@[@0E@ 4@08@] @0F@" + Pad(t27_5046.s75, 25) + " @08@[@0E@24@08@] @0F@" + Pad(t27_5046.s575, 25) + " @08@│@0F@ O"
Print "@0F@ D @08@│ @08@[@0E@ 5@08@] @0F@" + Pad(t27_5046.s100, 25) + " @08@[@0E@25@08@] @0F@" + Pad(t27_5046.s600, 25) + " @08@│@0F@ D"
Print "@0F@ U @08@│ @08@[@0E@ 6@08@] @0F@" + Pad(t27_5046.s125, 25) + " @08@[@0E@26@08@] @0F@" + Pad(t27_5046.s625, 25) + " @08@│@0F@ U"
Print "@0F@ C @08@│ @08@[@0E@ 7@08@] @0F@" + Pad(t27_5046.s150, 25) + " @08@[@0E@27@08@] @0F@" + Pad(t27_5046.s650, 25) + " @08@│@0F@ C"
Print "@0F@ T @08@│ @08@[@0E@ 8@08@] @0F@" + Pad(t27_5046.s175, 25) + " @08@[@0E@28@08@] @0F@" + Pad(t27_5046.s675, 25) + " @08@│@0F@ T"
Print " @08@│ @08@[@0E@ 9@08@] @0F@" + Pad(t27_5046.s200, 25) + " @08@[@0E@29@08@] @0F@" + Pad(t27_5046.s700, 25) + " @08@│"
Print "@0F@ C @08@│ @08@[@0E@10@08@] @0F@" + Pad(t27_5046.s225, 25) + " @08@[@0E@30@08@] @0F@" + Pad(t27_5046.s725, 25) + " @08@│@0F@ C"
Print "@0F@ A @08@│ @08@[@0E@11@08@] @0F@" + Pad(t27_5046.s250, 25) + " @08@[@0E@31@08@] @0F@" + Pad(t27_5046.s750, 25) + " @08@│@0F@ A"
Print "@0F@ T @08@│ @08@[@0E@12@08@] @0F@" + Pad(t27_5046.s275, 25) + " @08@[@0E@32@08@] @0F@" + Pad(t27_5046.s775, 25) + " @08@│@0F@ T"
Print "@0F@ E @08@│ @08@[@0E@13@08@] @0F@" + Pad(t27_5046.s300, 25) + " @08@[@0E@33@08@] @0F@" + Pad(t27_5046.s800, 25) + " @08@│@0F@ E"
Print "@0F@ G @08@│ @08@[@0E@14@08@] @0F@" + Pad(t27_5046.s325, 25) + " @08@[@0E@34@08@] @0F@" + Pad(t27_5046.s825, 25) + " @08@│@0F@ G"
Print "@0F@ O @08@│ @08@[@0E@15@08@] @0F@" + Pad(t27_5046.s350, 25) + " @08@[@0E@35@08@] @0F@" + Pad(t27_5046.s850, 25) + " @08@│@0F@ O"
Print "@0F@ R @08@│ @08@[@0E@16@08@] @0F@" + Pad(t27_5046.s375, 25) + " @08@[@0E@36@08@] @0F@" + Pad(t27_5046.s875, 25) + " @08@│@0F@ R"
Print "@0F@ I @08@│ @08@[@0E@17@08@] @0F@" + Pad(t27_5046.s400, 25) + " @08@[@0E@37@08@] @0F@" + Pad(t27_5046.s900, 25) + " @08@│@0F@ I"
Print "@0F@ E @08@│ @08@[@0E@18@08@] @0F@" + Pad(t27_5046.s425, 25) + " @08@[@0E@38@08@] @0F@" + Pad(t27_5046.s925, 25) + " @08@│@0F@ E"
Print "@0F@ S @08@│ @08@[@0E@19@08@] @0F@" + Pad(t27_5046.s450, 25) + " @08@[@0E@39@08@] @0F@" + Pad(t27_5046.s950, 25) + " @08@│@0F@ S"
Print " @08@│ @08@[@0E@20@08@] @0F@" + Pad(t27_5046.s475, 25) + " @08@[@0E@40@08@] @0F@" + Pad(t27_5046.s975, 25) + " @08@│"
s6046 = InputMask("Category [@0F@##@0E@] to edit, [@0F@Q@0E@]uit. ", "XX", "", 1213417543)
If UCase(s6046) = "Q" Then
GoTo 1360
End If
4504 If Val(s6046) >= 1 And Val(s6046) <= 40 Then
MorePrompt(0)
If s6046 = "1" Then
t27_5046.s0 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s0, 1213417543)
End If
4586 If s6046 = "2" Then
t27_5046.s25 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s25, 1213417543)
End If
4641 If s6046 = "3" Then
t27_5046.s50 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s50, 1213417543)
End If
4696 If s6046 = "4" Then
t27_5046.s75 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s75, 1213417543)
End If
4751 If s6046 = "5" Then
t27_5046.s100 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s100, 1213417543)
End If
4806 If s6046 = "6" Then
t27_5046.s125 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s125, 1213417543)
End If
4861 If s6046 = "7" Then
t27_5046.s150 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s150, 1213417543)
End If
4916 If s6046 = "8" Then
t27_5046.s175 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s175, 1213417543)
End If
4971 If s6046 = "9" Then
t27_5046.s200 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s200, 1213417543)
End If
5026 If s6046 = "10" Then
t27_5046.s225 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s225, 1213417543)
End If
5081 If s6046 = "11" Then
t27_5046.s250 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s250, 1213417543)
End If
5136 If s6046 = "12" Then
t27_5046.s275 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s275, 1213417543)
End If
5193 If s6046 = "13" Then
t27_5046.s300 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s300, 1213417543)
End If
5250 If s6046 = "14" Then
t27_5046.s325 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s325, 1213417543)
End If
5307 If s6046 = "15" Then
t27_5046.s350 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s350, 1213417543)
End If
5364 If s6046 = "16" Then
t27_5046.s375 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s375, 1213417543)
End If
5421 If s6046 = "17" Then
t27_5046.s400 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s400, 1213417543)
End If
5478 If s6046 = "18" Then
t27_5046.s425 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s425, 1213417543)
End If
5535 If s6046 = "19" Then
t27_5046.s450 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s450, 1213417543)
End If
5592 If s6046 = "20" Then
t27_5046.s475 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s475, 1213417543)
End If
5649 If s6046 = "21" Then
t27_5046.s500 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s500, 1213417543)
End If
5706 If s6046 = "22" Then
t27_5046.s525 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s525, 1213417543)
End If
5763 If s6046 = "23" Then
t27_5046.s550 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s550, 1213417543)
End If
5820 If s6046 = "24" Then
t27_5046.s575 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s575, 1213417543)
End If
5877 If s6046 = "25" Then
t27_5046.s600 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s600, 1213417543)
End If
5934 If s6046 = "26" Then
t27_5046.s625 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s625, 1213417543)
End If
5991 If s6046 = "27" Then
t27_5046.s650 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s650, 1213417543)
End If
6048 If s6046 = "28" Then
t27_5046.s675 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s675, 1213417543)
End If
6105 If s6046 = "29" Then
t27_5046.s700 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s700, 1213417543)
End If
6162 If s6046 = "30" Then
t27_5046.s725 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s725, 1213417543)
End If
6219 If s6046 = "31" Then
t27_5046.s750 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s750, 1213417543)
End If
6276 If s6046 = "32" Then
t27_5046.s775 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s775, 1213417543)
End If
6333 If s6046 = "33" Then
t27_5046.s800 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s800, 1213417543)
End If
6390 If s6046 = "34" Then
t27_5046.s825 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s825, 1213417543)
End If
6447 If s6046 = "35" Then
t27_5046.s850 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s850, 1213417543)
End If
6504 If s6046 = "36" Then
t27_5046.s875 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s875, 1213417543)
End If
6561 If s6046 = "37" Then
t27_5046.s900 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s900, 1213417543)
End If
6618 If s6046 = "38" Then
t27_5046.s925 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s925, 1213417543)
End If
6675 If s6046 = "39" Then
t27_5046.s950 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s950, 1213417543)
End If
6732 If s6046 = "40" Then
t27_5046.s975 = InputMask("Category ", "XXXXXXXXXXXXXXXXXXXXXXXXX", t27_5046.s975, 1213417543)
End If
6789 Else
6795 GoTo 1360
End If
6801 Open s4932 + "CAT.CFG" For Random As 3 Len = 1000 '! This value should probably be replaced with a "SizeOf" expression
Put 3, -1, t27_5046 '! 1000 bytes
Close 3
Loop
6853 Cls
MorePrompt(0)
Print "@0E@Upload/Import Inventory File - @0F@Merchants can perform mass updates by uploading"
Print " comma-deliminated data files. Online Store will automatically import"
Print " this data into the merchant's PRODUCTS.DAT file for immediate display to"
Print " callers. The comma-deliminated file must be in the following format:"
Print " @0E@ " + Chr(34) + "1" + s4914 + "2" + s4914 + "3" + s4914 + "4" + s4914 + "5" + s4914 + "6" + s4914 + "7" + s4914 + "8" + s4914 + "9" + s4914 + "10" + s4914 + "11" + Chr(34)
Print ""
Print " @0F@1 = PRODUCT NAME"
Print " @0F@2 = PRODUCT PRICE @8E@*@0F@ "
Print " @0F@3 = DESCRIPTION 1 (UP TO 50 CHARACTERS) "
Print " @0F@4 = DESCRIPTION 2 (UP TO 50 CHARACTERS) "
Print " @0F@5 = DESCRIPTION 3 (UP TO 50 CHARACTERS) "
Print " @0F@6 = STOCK NUMBER "
Print " @0F@7 = UPC NUMBER "
Print " @0F@8 = WEIGHT "
Print " @0F@9 = GROUND SHIPPING RATE @8E@*@0F@ "
Print " @0F@10 = 2ND DAY SHIPPING RATE @8E@*@07@ "
Print " @0F@11 = OVERNIGHT SHIPPING RATE @8E@*@0E@ "
Print ""
Print " @8E@*@0E@ Do not include decimals or $. Ex (@0F@$89.55 should be entered as 8955@0E@) "
Print " The new data can append, or overwrite, existing data."
WaitEnter
Loop
7201 Locate 14, 14
Print "@1E@Upload comma-delimited inventory file? Y/N: @0E@[ ]";
Locate 14, 60
s4978 = ""
Do
Do
7238 s4978 = InKey(1213417543)
Loop Until s4978 <> ""
s65528_ = UCase(s4978)
If s65528_ = "Y" Then
Locate 14, 14
Print "@1E@[@1F@O@1E@]verwrite inventory, [@1F@A@1E@]ppend inventory: @0E@[ ]@1E@ "
MorePrompt(0)
Locate 14, 59
s4974 = ""
Do
Do
7332 s4974 = InKey(1213417543)
Loop Until s4974 <> ""
s65524_ = UCase(s4974)
If s65524_ = "O" Then
s4968 = "O"
GoTo 7454
Else
7410 If s65524_ = "A" Then
s4968 = "A"
GoTo 7454
GoTo 7448
End If
End If
7448 Loop
7454 Color 14, 0
Cls
Print " @08@│ @08@[@0E@ 1@08@] @0F@" + Pad(t27_5046.s0, 25) + " @08@[@0E@21@08@] @0F@" + Pad(t27_5046.s500, 25) + " @08@│"
Print "@0F@ P @08@│ @08@[@0E@ 2@08@] @0F@" + Pad(t27_5046.s25, 25) + " @08@[@0E@22@08@] @0F@" + Pad(t27_5046.s525, 25) + " @08@│@0F@ P"
Print "@0F@ R @08@│ @08@[@0E@ 3@08@] @0F@" + Pad(t27_5046.s50, 25) + " @08@[@0E@23@08@] @0F@" + Pad(t27_5046.s550, 25) + " @08@│@0F@ R"
Print "@0F@ O @08@│ @08@[@0E@ 4@08@] @0F@" + Pad(t27_5046.s75, 25) + " @08@[@0E@24@08@] @0F@" + Pad(t27_5046.s575, 25) + " @08@│@0F@ O"
Print "@0F@ D @08@│ @08@[@0E@ 5@08@] @0F@" + Pad(t27_5046.s100, 25) + " @08@[@0E@25@08@] @0F@" + Pad(t27_5046.s600, 25) + " @08@│@0F@ D"
Print "@0F@ U @08@│ @08@[@0E@ 6@08@] @0F@" + Pad(t27_5046.s125, 25) + " @08@[@0E@26@08@] @0F@" + Pad(t27_5046.s625, 25) + " @08@│@0F@ U"
Print "@0F@ C @08@│ @08@[@0E@ 7@08@] @0F@" + Pad(t27_5046.s150, 25) + " @08@[@0E@27@08@] @0F@" + Pad(t27_5046.s650, 25) + " @08@│@0F@ C"
Print "@0F@ T @08@│ @08@[@0E@ 8@08@] @0F@" + Pad(t27_5046.s175, 25) + " @08@[@0E@28@08@] @0F@" + Pad(t27_5046.s675, 25) + " @08@│@0F@ T"
Print " @08@│ @08@[@0E@ 9@08@] @0F@" + Pad(t27_5046.s200, 25) + " @08@[@0E@29@08@] @0F@" + Pad(t27_5046.s700, 25) + " @08@│"
Print "@0F@ C @08@│ @08@[@0E@10@08@] @0F@" + Pad(t27_5046.s225, 25) + " @08@[@0E@30@08@] @0F@" + Pad(t27_5046.s725, 25) + " @08@│@0F@ C"
Print "@0F@ A @08@│ @08@[@0E@11@08@] @0F@" + Pad(t27_5046.s250, 25) + " @08@[@0E@31@08@] @0F@" + Pad(t27_5046.s750, 25) + " @08@│@0F@ A"
Print "@0F@ T @08@│ @08@[@0E@12@08@] @0F@" + Pad(t27_5046.s275, 25) + " @08@[@0E@32@08@] @0F@" + Pad(t27_5046.s775, 25) + " @08@│@0F@ T"
Print "@0F@ E @08@│ @08@[@0E@13@08@] @0F@" + Pad(t27_5046.s300, 25) + " @08@[@0E@33@08@] @0F@" + Pad(t27_5046.s800, 25) + " @08@│@0F@ E"
Print "@0F@ G @08@│ @08@[@0E@14@08@] @0F@" + Pad(t27_5046.s325, 25) + " @08@[@0E@34@08@] @0F@" + Pad(t27_5046.s825, 25) + " @08@│@0F@ G"
Print "@0F@ O @08@│ @08@[@0E@15@08@] @0F@" + Pad(t27_5046.s350, 25) + " @08@[@0E@35@08@] @0F@" + Pad(t27_5046.s850, 25) + " @08@│@0F@ O"
Print "@0F@ R @08@│ @08@[@0E@16@08@] @0F@" + Pad(t27_5046.s375, 25) + " @08@[@0E@36@08@] @0F@" + Pad(t27_5046.s875, 25) + " @08@│@0F@ R"
Print "@0F@ I @08@│ @08@[@0E@17@08@] @0F@" + Pad(t27_5046.s400, 25) + " @08@[@0E@37@08@] @0F@" + Pad(t27_5046.s900, 25) + " @08@│@0F@ I"
Print "@0F@ E @08@│ @08@[@0E@18@08@] @0F@" + Pad(t27_5046.s425, 25) + " @08@[@0E@38@08@] @0F@" + Pad(t27_5046.s925, 25) + " @08@│@0F@ E"
Print "@0F@ S @08@│ @08@[@0E@19@08@] @0F@" + Pad(t27_5046.s450, 25) + " @08@[@0E@39@08@] @0F@" + Pad(t27_5046.s950, 25) + " @08@│@0F@ S"
Print " @08@│ @08@[@0E@20@08@] @0F@" + Pad(t27_5046.s475, 25) + " @08@[@0E@40@08@] @0F@" + Pad(t27_5046.s975, 25) + " @08@│"
s4910 = InputMask("Please select a product category, or [@0F@Q@0E@]uit. ", "XX", "", 1213417543)
If Val(s4910) >= 1 And Val(s4910) <= 40 Then
Else
8691 GoTo 1360
End If
8697 If s4968 = "O" Then
Del s4932 + s4910 + "PROD.DAT"
i4972 = 0
End If
8740 If s4968 = "A" Then
If Exists(s4932 + s4910 + "PROD.DAT") Then
Open s4932 + s4910 + "PROD.DAT" For Random As 1 Len = 219 '! This value should probably be replaced with a "SizeOf" expression
i4972 = LOF(1)
Close 1
Else
8836 i4972 = 0
End If
End If
8842 If Local Then
Locate 17, 1
End If
8858 If ReceiveFile(s4932 + s4910 + "PROD.IMP", 1213417543) Then
Else
8895 GoTo 1360
End If
8901 Locate 14, 14
MorePrompt(0)
Print "@0E@Received file: @0F@" + s4910; "+PROD.IMP "
Open s4932 + s4910 + "PROD.IMP" For Input As 1
Do
8967 Input #1, s6054
i6058 = InStr(s6054, s4914)
t28_4467.s0 = Mid(s6054, 2, i6058 - 2)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s20 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s30 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s80 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s130 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s180 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s188 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s201 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s207 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
t28_4467.s211 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
i6060 = i6058
i6058 = InStr(i6058 + 1, s6054, s4914)
If i6058 = 0 Then
t28_4467.s215 = Mid(s6054, i6060 + 3, Len(s6054) - i6060 - 3)
Else
9806 t28_4467.s215 = Mid(s6054, i6060 + 3, i6058 - i6060 - 3)
End If
9848 If t28_4467.s0 = "" Then
Else
9873 Cls
Print ""
Print "@0E@PRODUCT: @0F@" + t28_4467.s0
Print "@0E@PRICE: @0F@" + t28_4467.s20
Print "@0E@DESC1: @0F@" + t28_4467.s30
Print "@0E@DESC2: @0F@" + t28_4467.s80
Print "@0E@DESC3: @0F@" + t28_4467.s130
Print "@0E@STOCK#: @0F@" + t28_4467.s180
Print "@0E@UPC: @0F@" + t28_4467.s188
Print "@0E@WEIGHT: @0F@" + t28_4467.s201
Print "@0E@GROUND: @0F@" + t28_4467.s207
Print "@0E@2nd DAY: @0F@" + t28_4467.s211
Print "@0E@Overnight: @0F@" + t28_4467.s215
If s4940 = "NO" Then
Print ""
s4954 = InputMask("[@0F@A@0E@]dd this record, [@0F@S@0E@]kip this record, [@0F@I@0E@]mport all records, [@0F@Q@0E@]uit: ", "X", "", 1213417543)
If UCase(s4954) = "A" Then
Else
10191 If UCase(s4954) = "S" Then
GoTo 10344
End If
10217 If UCase(s4954) = "I" Then
s4940 = "YES"
Else
10252 If UCase(s4954) = "Q" Then
Close 1
Close 2
GoTo 1360
End If
End If
End If
End If
10288 Open s4932 + s4910 + "PROD.DAT" For Random As 2 Len = 219 '! This value should probably be replaced with a "SizeOf" expression
Put 2, i4972 + 1, t28_4467 '! 219 bytes
Close 2
End If
10344 i4972 = i4972 + 1
Loop While Not EOF(1)
Close 1
GoTo 1360
Else
10388 If s65528_ = "N" Then
GoTo 1360
GoTo 10417
End If
End If
10417 Loop
t28_4467.s0 = ""
t28_4467.s20 = ""
Loop
10455 Color 14, 0
Cls
Print " @08@│ @08@[@0E@ 1@08@] @0F@" + Pad(t27_5046.s0, 25) + " @08@[@0E@21@08@] @0F@" + Pad(t27_5046.s500, 25) + " @08@│"
Print "@0F@ P @08@│ @08@[@0E@ 2@08@] @0F@" + Pad(t27_5046.s25, 25) + " @08@[@0E@22@08@] @0F@" + Pad(t27_5046.s525, 25) + " @08@│@0F@ P"
Print "@0F@ R @08@│ @08@[@0E@ 3@08@] @0F@" + Pad(t27_5046.s50, 25) + " @08@[@0E@23@08@] @0F@" + Pad(t27_5046.s550, 25) + " @08@│@0F@ R"
Print "@0F@ O @08@│ @08@[@0E@ 4@08@] @0F@" + Pad(t27_5046.s75, 25) + " @08@[@0E@24@08@] @0F@" + Pad(t27_5046.s575, 25) + " @08@│@0F@ O"
Print "@0F@ D @08@│ @08@[@0E@ 5@08@] @0F@" + Pad(t27_5046.s100, 25) + " @08@[@0E@25@08@] @0F@" + Pad(t27_5046.s600, 25) + " @08@│@0F@ D"
Print "@0F@ U @08@│ @08@[@0E@ 6@08@] @0F@" + Pad(t27_5046.s125, 25) + " @08@[@0E@26@08@] @0F@" + Pad(t27_5046.s625, 25) + " @08@│@0F@ U"
Print "@0F@ C @08@│ @08@[@0E@ 7@08@] @0F@" + Pad(t27_5046.s150, 25) + " @08@[@0E@27@08@] @0F@" + Pad(t27_5046.s650, 25) + " @08@│@0F@ C"
Print "@0F@ T @08@│ @08@[@0E@ 8@08@] @0F@" + Pad(t27_5046.s175, 25) + " @08@[@0E@28@08@] @0F@" + Pad(t27_5046.s675, 25) + " @08@│@0F@ T"
Print " @08@│ @08@[@0E@ 9@08@] @0F@" + Pad(t27_5046.s200, 25) + " @08@[@0E@29@08@] @0F@" + Pad(t27_5046.s700, 25) + " @08@│"
Print "@0F@ C @08@│ @08@[@0E@10@08@] @0F@" + Pad(t27_5046.s225, 25) + " @08@[@0E@30@08@] @0F@" + Pad(t27_5046.s725, 25) + " @08@│@0F@ C"
Print "@0F@ A @08@│ @08@[@0E@11@08@] @0F@" + Pad(t27_5046.s250, 25) + " @08@[@0E@31@08@] @0F@" + Pad(t27_5046.s750, 25) + " @08@│@0F@ A"
Print "@0F@ T @08@│ @08@[@0E@12@08@] @0F@" + Pad(t27_5046.s275, 25) + " @08@[@0E@32@08@] @0F@" + Pad(t27_5046.s775, 25) + " @08@│@0F@ T"
Print "@0F@ E @08@│ @08@[@0E@13@08@] @0F@" + Pad(t27_5046.s300, 25) + " @08@[@0E@33@08@] @0F@" + Pad(t27_5046.s800, 25) + " @08@│@0F@ E"
Print "@0F@ G @08@│ @08@[@0E@14@08@] @0F@" + Pad(t27_5046.s325, 25) + " @08@[@0E@34@08@] @0F@" + Pad(t27_5046.s825, 25) + " @08@│@0F@ G"
Print "@0F@ O @08@│ @08@[@0E@15@08@] @0F@" + Pad(t27_5046.s350, 25) + " @08@[@0E@35@08@] @0F@" + Pad(t27_5046.s850, 25) + " @08@│@0F@ O"
Print "@0F@ R @08@│ @08@[@0E@16@08@] @0F@" + Pad(t27_5046.s375, 25) + " @08@[@0E@36@08@] @0F@" + Pad(t27_5046.s875, 25) + " @08@│@0F@ R"
Print "@0F@ I @08@│ @08@[@0E@17@08@] @0F@" + Pad(t27_5046.s400, 25) + " @08@[@0E@37@08@] @0F@" + Pad(t27_5046.s900, 25) + " @08@│@0F@ I"
Print "@0F@ E @08@│ @08@[@0E@18@08@] @0F@" + Pad(t27_5046.s425, 25) + " @08@[@0E@38@08@] @0F@" + Pad(t27_5046.s925, 25) + " @08@│@0F@ E"
Print "@0F@ S @08@│ @08@[@0E@19@08@] @0F@" + Pad(t27_5046.s450, 25) + " @08@[@0E@39@08@] @0F@" + Pad(t27_5046.s950, 25) + " @08@│@0F@ S"
Print " @08@│ @08@[@0E@20@08@] @0F@" + Pad(t27_5046.s475, 25) + " @08@[@0E@40@08@] @0F@" + Pad(t27_5046.s975, 25) + " @08@│"
s4910 = InputMask("Please select a product category, or [@0F@Q@0E@]uit. ", "XX", "", 1213417543)
If Val(s4910) >= 1 And Val(s4910) <= 40 Then
GoTo 11698
End If
11692 Loop
11698 If Exists(s4932 + s4910 + "PROD.DAT") Then
Open s4932 + s4910 + "PROD.DAT" For Random As 1 Len = 219 '! This value should probably be replaced with a "SizeOf" expression
Else
11762 CopyFile(s4986 + "PRODUCTS.DAT", s4932 + s4910 + "PROD.DAT")
Open s4932 + s4910 + "PROD.DAT" For Random As 1 Len = 219 '! This value should probably be replaced with a "SizeOf" expression
GoTo 15075
End If
11832 MorePrompt(0)
i4972 = 1
i4958 = 1
Do
Do
11851 Cls
Print " @0E@Record # Product Name Stock# Price"
Print ""
Do
11872 Get 1, i4972, t28_4467 '! 219 bytes
Print " @0F@" + LeftPad(Str(i4972), 8) + " @0F@" + Pad(t28_4467.s0, 20) + " " + Pad(t28_4467.s180, 8) + " " + LeftPad(FormatNumber(Val(t28_4467.s20), "$###,###.##"), 8)
i4972 = i4972 + 1
i4958 = i4958 + 1
If i4958 = 16 Then
Print ""
s4960 = InputMask("[@0F@##@0E@] product to edit/delete, [@0F@A@0E@]dd, [@0F@N@0E@]ext, [@0F@P@0E@]revious, [@0F@Q@0E@]uit ", "XXXXXXXX", "", 1213417543)
If s4960 = "" Then
s4960 = "N"
End If
12095 If UCase(s4960) = "A" Then
t28_4467.s0 = ""
t28_4467.s20 = ""
t28_4467.s30 = ""
t28_4467.s80 = ""
t28_4467.s130 = ""
t28_4467.s180 = ""
t28_4467.s188 = ""
t28_4467.s201 = ""
t28_4467.s207 = ""
t28_4467.s211 = ""
t28_4467.s215 = ""
Cls
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
Print "@0E@PRODUCT: [" + Pad(t28_4467.s0, 20) + "]"
Print "@0E@PRICE: [" + Pad(t28_4467.s20, 10) + "]"
Print "@0E@DESC1: [" + Pad(t28_4467.s30, 50) + "]"
Print "@0E@DESC2: [" + Pad(t28_4467.s80, 50) + "]"
Print "@0E@DESC3: [" + Pad(t28_4467.s130, 50) + "]"
Print "@0E@STOCK#: [" + Pad(t28_4467.s180, 8) + "]"
Print "@0E@UPC: [" + Pad(t28_4467.s188, 13) + "]"
Print "@0E@WEIGHT: [" + Pad(t28_4467.s201, 6) + "]"
Print "@0E@GROUND: [" + Pad(t28_4467.s207, 4) + "]"
Print "@0E@2nd DAY: [" + Pad(t28_4467.s211, 4) + "]"
Print "@0E@OVERNIGHT: [" + Pad(t28_4467.s215, 4) + "]"
Locate 1, 1
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
t28_4467.s0 = InputMask("PRODUCT: ", "XXXXXXXXXXXXXXXXXXXX", t28_4467.s0, 1213417543)
t28_4467.s20 = InputMask("PRICE: ", "9999999999", t28_4467.s20, 1213417543)
t28_4467.s30 = InputMask("DESC1: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s30, 1213417543)
t28_4467.s80 = InputMask("DESC2: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s80, 1213417543)
t28_4467.s130 = InputMask("DESC3: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s130, 1213417543)
t28_4467.s180 = InputMask("STOCK#: ", "XXXXXXXX", t28_4467.s180, 1213417543)
t28_4467.s188 = InputMask("UPC: ", "XXXXXXXXXXXXX", t28_4467.s188, 1213417543)
t28_4467.s201 = InputMask("WEIGHT: ", "XXXXXX", t28_4467.s201, 1213417543)
t28_4467.s207 = InputMask("GROUND: ", "XXXX", t28_4467.s207, 1213417543)
t28_4467.s211 = InputMask("2nd DAY: ", "XXXX", t28_4467.s211, 1213417543)
t28_4467.s215 = InputMask("OVERNIGHT: ", "XXXX", t28_4467.s215, 1213417543)
If t28_4467.s20 = "" Then
Put 1, LOF(1) + 1, t28_4467 '! 219 bytes
End If
13133 w4944 = LOF(1)
End If
13143 If UCase(s4960) = "Q" Then
Close 1
GoTo 1360
End If
13174 If UCase(s4960) = "N" Then
Cls
Print " @0E@Record # Product Name Stock# Price"
Print ""
End If
13215 If UCase(s4960) = "P" Then
i4972 = i4972 - i4958 - 16
If i4972 < 1 Then
i4972 = 1
End If
13278 Cls
Print " @0E@Record # Product Name Stock# Price"
Print ""
End If
13299 If Val(s4960) >= 1 And Val(s4960) <= LOF(1) Then
i4918 = Val(s4960)
13344 Get 1, i4918, t28_4467 '! 219 bytes
Do
13359 Cls
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@PRODUCT: @0F@" + t28_4467.s0
Print "@0E@PRICE: @0F@" + t28_4467.s20
Print "@0E@DESC1: @0F@" + t28_4467.s30
Print "@0E@DESC2: @0F@" + t28_4467.s80
Print "@0E@DESC3: @0F@" + t28_4467.s130
Print "@0E@STOCK#: @0F@" + t28_4467.s180
Print "@0E@UPC: @0F@" + t28_4467.s188
Print "@0E@WEIGHT: @0F@" + t28_4467.s201
Print "@0E@GROUND: @0F@" + t28_4467.s207
Print "@0E@2nd DAY: @0F@" + t28_4467.s211
Print "@0E@OVERNIGHT: @0F@" + t28_4467.s215
Print ""
s4950 = InputMask("[@0F@E@0E@]dit record, [@0F@D@0E@]elete record, [@0F@N@0E@]ext, [@0F@P@0E@]revious, [@0F@Q@0E@]uit: ", "X", "", 1213417543)
If UCase(s4950) = "Q" Then
i4972 = i4972 - i4958
If i4972 < 1 Then
i4972 = 1
End If
13713 GoTo 11851
End If
13719 If UCase(s4950) = "N" Then
i4918 = i4918 + 1
If i4918 > LOF(1) Then
i4918 = LOF(1)
End If
13781 GoTo 13344
End If
13787 If UCase(s4950) = "P" Then
i4918 = i4918 - 1
If i4918 < 1 Then
i4918 = 1
End If
13843 GoTo 13344
End If
13849 If UCase(s4950) = "D" Then
t28_4467.s0 = "DEL"
t28_4467.s20 = ""
t28_4467.s30 = ""
t28_4467.s80 = ""
t28_4467.s130 = ""
t28_4467.s180 = ""
t28_4467.s188 = ""
t28_4467.s201 = ""
t28_4467.s207 = ""
t28_4467.s211 = ""
t28_4467.s215 = ""
Put 1, i4918, t28_4467 '! 219 bytes
End If
14045 If UCase(s4950) = "E" Then
Cls
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
Print "@0E@PRODUCT: [" + Pad(t28_4467.s0, 20) + "]"
Print "@0E@PRICE: [" + Pad(t28_4467.s20, 10) + "]"
Print "@0E@DESC1: [" + Pad(t28_4467.s30, 50) + "]"
Print "@0E@DESC2: [" + Pad(t28_4467.s80, 50) + "]"
Print "@0E@DESC3: [" + Pad(t28_4467.s130, 50) + "]"
Print "@0E@STOCK#: [" + Pad(t28_4467.s180, 8) + "]"
Print "@0E@UPC: [" + Pad(t28_4467.s188, 13) + "]"
Print "@0E@WEIGHT: [" + Pad(t28_4467.s201, 6) + "]"
Print "@0E@GROUND: [" + Pad(t28_4467.s207, 4) + "]"
Print "@0E@2nd DAY: [" + Pad(t28_4467.s211, 4) + "]"
Print "@0E@OVERNIGHT: [" + Pad(t28_4467.s215, 4) + "]"
Print ""
Print "[@0F@E@0E@]dit record, [@0F@D@0E@]elete record, [@0F@Q@0E@]uit: [ ]"
Locate 1, 1
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
t28_4467.s0 = InputMask("PRODUCT: ", "XXXXXXXXXXXXXXXXXXXX", t28_4467.s0, 1213417543)
t28_4467.s20 = InputMask("PRICE: ", "9999999999", t28_4467.s20, 1213417543)
t28_4467.s30 = InputMask("DESC1: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s30, 1213417543)
t28_4467.s80 = InputMask("DESC2: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s80, 1213417543)
t28_4467.s130 = InputMask("DESC3: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s130, 1213417543)
t28_4467.s180 = InputMask("STOCK#: ", "XXXXXXXX", t28_4467.s180, 1213417543)
t28_4467.s188 = InputMask("UPC: ", "XXXXXXXXXXXXX", t28_4467.s188, 1213417543)
t28_4467.s201 = InputMask("WEIGHT: ", "XXXXXX", t28_4467.s201, 1213417543)
t28_4467.s207 = InputMask("GROUND: ", "XXXX", t28_4467.s207, 1213417543)
t28_4467.s211 = InputMask("2nd DAY: ", "XXXX", t28_4467.s211, 1213417543)
t28_4467.s215 = InputMask("OVERNIGHT: ", "XXXX", t28_4467.s215, 1213417543)
Put 1, i4918, t28_4467 '! 219 bytes
End If
14971 Loop
Cls
Print " @0E@Record # Product Name Stock# Price"
Print ""
i4972 = i4972 - i4958 - 16
End If
15019 i4958 = 1
End If
15026 Loop While Not EOF(1)
Print ""
s4960 = InputMask("[@0F@##@0E@] product to edit/delete, [@0F@A@0E@]dd product, [@0F@P@0E@]revious page, [@0F@Q@0E@]uit ", "XXXXXXXX", "", 1213417543)
15075 If UCase(s4960) = "A" Then
t28_4467.s0 = ""
t28_4467.s20 = ""
t28_4467.s30 = ""
t28_4467.s80 = ""
t28_4467.s130 = ""
t28_4467.s180 = ""
t28_4467.s188 = ""
t28_4467.s207 = ""
t28_4467.s211 = ""
t28_4467.s215 = ""
t28_4467.s201 = ""
Cls
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
Print "@0E@PRODUCT: [" + Pad(t28_4467.s0, 20) + "]"
Print "@0E@PRICE: [" + Pad(t28_4467.s20, 10) + "]"
Print "@0E@DESC1: [" + Pad(t28_4467.s30, 50) + "]"
Print "@0E@DESC2: [" + Pad(t28_4467.s80, 50) + "]"
Print "@0E@DESC3: [" + Pad(t28_4467.s130, 50) + "]"
Print "@0E@STOCK#: [" + Pad(t28_4467.s180, 8) + "]"
Print "@0E@UPC: [" + Pad(t28_4467.s188, 13) + "]"
Print "@0E@WEIGHT: [" + Pad(t28_4467.s201, 6) + "]"
Print "@0E@GROUND: [" + Pad(t28_4467.s207, 4) + "]"
Print "@0E@2nd DAY: [" + Pad(t28_4467.s211, 4) + "]"
Print "@0E@OVERNIGHT: [" + Pad(t28_4467.s215, 4) + "]"
Locate 1, 1
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
t28_4467.s0 = InputMask("PRODUCT: ", "XXXXXXXXXXXXXXXXXXXX", t28_4467.s0, 1213417543)
t28_4467.s20 = InputMask("PRICE: ", "9999999999", t28_4467.s20, 1213417543)
t28_4467.s30 = InputMask("DESC1: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s30, 1213417543)
t28_4467.s80 = InputMask("DESC2: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s80, 1213417543)
t28_4467.s130 = InputMask("DESC3: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s130, 1213417543)
t28_4467.s180 = InputMask("STOCK#: ", "XXXXXXXX", t28_4467.s180, 1213417543)
t28_4467.s188 = InputMask("UPC: ", "XXXXXXXXXXXXX", t28_4467.s188, 1213417543)
t28_4467.s201 = InputMask("WEIGHT: ", "XXXXXX", t28_4467.s201, 1213417543)
t28_4467.s207 = InputMask("GROUND: ", "XXXX", t28_4467.s207, 1213417543)
t28_4467.s211 = InputMask("2nd DAY: ", "XXXX", t28_4467.s211, 1213417543)
t28_4467.s215 = InputMask("OVERNIGHT: ", "XXXX", t28_4467.s215, 1213417543)
Put 1, LOF(1) + 1, t28_4467 '! 219 bytes
w4944 = LOF(1)
End If
16140 If s4960 = "" Then
s4960 = "N"
End If
16166 If UCase(s4960) = "Q" Then
Close 1
GoTo 1360
End If
16197 If UCase(s4960) = "P" Then
i4972 = i4972 - i4958 - 16
If i4972 < 1 Then
i4972 = 1
End If
16260 Cls
Print " @0E@Record # Product Name Stock# Price"
Print ""
End If
16281 If (Val(s4960) >= 1 And Val(s4960) <= LOF(1)) = 0 Then GoTo 17823
i4918 = Val(s4960)
Get 1, i4918, t28_4467 '! 219 bytes
Cls
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@PRODUCT: @0F@" + t28_4467.s0
Print "@0E@PRICE: @0F@" + t28_4467.s20
Print "@0E@DESC1: @0F@" + t28_4467.s30
Print "@0E@DESC2: @0F@" + t28_4467.s80
Print "@0E@DESC3: @0F@" + t28_4467.s130
Print "@0E@STOCK#: @0F@" + t28_4467.s180
Print "@0E@UPC: @0F@" + t28_4467.s188
Print "@0E@WEIGHT: @0F@" + t28_4467.s201
Print "@0E@GROUND: @0F@" + t28_4467.s207
Print "@0E@2nd DAY: @0F@" + t28_4467.s211
Print "@0E@OVERNIGHT: @0F@" + t28_4467.s215
Print ""
s4950 = InputMask("[@0F@E@0E@]dit record, [@0F@D@0E@]elete record, [@0F@Q@0E@]uit: ", "X", "", 1213417543)
If (UCase(s4950) = "Q") = 0 Then GoTo 16701
i4972 = i4972 - i4958
If i4972 < 1 Then
i4972 = 1
End If
16695 Loop
16701 If UCase(s4950) = "D" Then
t28_4467.s0 = "DEL"
t28_4467.s20 = ""
t28_4467.s30 = ""
t28_4467.s80 = ""
t28_4467.s130 = ""
t28_4467.s180 = ""
t28_4467.s188 = ""
t28_4467.s201 = ""
t28_4467.s211 = ""
t28_4467.s215 = ""
t28_4467.s201 = ""
Put 1, i4918, t28_4467 '! 219 bytes
End If
16897 If UCase(s4950) = "E" Then
Cls
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
Print "@0E@PRODUCT: [" + Pad(t28_4467.s0, 20) + "]"
Print "@0E@PRICE: [" + Pad(t28_4467.s20, 10) + "]"
Print "@0E@DESC1: [" + Pad(t28_4467.s30, 50) + "]"
Print "@0E@DESC2: [" + Pad(t28_4467.s80, 50) + "]"
Print "@0E@DESC3: [" + Pad(t28_4467.s130, 50) + "]"
Print "@0E@STOCK#: [" + Pad(t28_4467.s180, 8) + "]"
Print "@0E@UPC: [" + Pad(t28_4467.s188, 13) + "]"
Print "@0E@WEIGHT: [" + Pad(t28_4467.s201, 6) + "]"
Print "@0E@GROUND: [" + Pad(t28_4467.s207, 4) + "]"
Print "@0E@2nd DAY: [" + Pad(t28_4467.s211, 4) + "]"
Print "@0E@OVERNIGHT: [" + Pad(t28_4467.s215, 4) + "]"
Print ""
Print "[@0F@E@0E@]dit record, [@0F@D@0E@]elete record, [@0F@Q@0E@]uit: [ ]"
Locate 1, 1
Print "PRODUCT: @0F@" + UCase(t28_4467.s0)
Print ""
Print "@0E@DO NOT INCLUDE DECIMALS OR $ IN PRICES. @0F@$123.99@0E@ SHOULE BE ENTERED AS @0F@12399 @0E@"
Print ""
t28_4467.s0 = InputMask("PRODUCT: ", "XXXXXXXXXXXXXXXXXXXX", t28_4467.s0, 1213417543)
t28_4467.s20 = InputMask("PRICE: ", "9999999999", t28_4467.s20, 1213417543)
t28_4467.s30 = InputMask("DESC1: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s30, 1213417543)
t28_4467.s80 = InputMask("DESC2: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s80, 1213417543)
t28_4467.s130 = InputMask("DESC3: ", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", t28_4467.s130, 1213417543)
t28_4467.s180 = InputMask("STOCK#: ", "XXXXXXXX", t28_4467.s180, 1213417543)
t28_4467.s188 = InputMask("UPC: ", "XXXXXXXXXXXXX", t28_4467.s188, 1213417543)
t28_4467.s201 = InputMask("WEIGHT: ", "XXXXXX", t28_4467.s201, 1213417543)
t28_4467.s207 = InputMask("GROUND: ", "XXXX", t28_4467.s207, 1213417543)
t28_4467.s211 = InputMask("2nd DAY: ", "XXXX", t28_4467.s211, 1213417543)
t28_4467.s215 = InputMask("OVERNIGHT: ", "XXXX", t28_4467.s215, 1213417543)
Put 1, i4918, t28_4467 '! 219 bytes
End If
17823 i4972 = i4972 - i4958 - 16
i4958 = 1
If i4972 < 1 Then
i4972 = 1
End If
17873 Loop
17879 Color 14, 0
Cls
Print " @08@│ @08@[@0E@ 1@08@] @0F@" + Pad(t27_5046.s0, 25) + " @08@[@0E@21@08@] @0F@" + Pad(t27_5046.s500, 25) + " @08@│"
Print "@0F@ P @08@│ @08@[@0E@ 2@08@] @0F@" + Pad(t27_5046.s25, 25) + " @08@[@0E@22@08@] @0F@" + Pad(t27_5046.s525, 25) + " @08@│@0F@ P"
Print "@0F@ R @08@│ @08@[@0E@ 3@08@] @0F@" + Pad(t27_5046.s50, 25) + " @08@[@0E@23@08@] @0F@" + Pad(t27_5046.s550, 25) + " @08@│@0F@ R"
Print "@0F@ O @08@│ @08@[@0E@ 4@08@] @0F@" + Pad(t27_5046.s75, 25) + " @08@[@0E@24@08@] @0F@" + Pad(t27_5046.s575, 25) + " @08@│@0F@ O"
Print "@0F@ D @08@│ @08@[@0E@ 5@08@] @0F@" + Pad(t27_5046.s100, 25) + " @08@[@0E@25@08@] @0F@" + Pad(t27_5046.s600, 25) + " @08@│@0F@ D"
Print "@0F@ U @08@│ @08@[@0E@ 6@08@] @0F@" + Pad(t27_5046.s125, 25) + " @08@[@0E@26@08@] @0F@" + Pad(t27_5046.s625, 25) + " @08@│@0F@ U"
Print "@0F@ C @08@│ @08@[@0E@ 7@08@] @0F@" + Pad(t27_5046.s150, 25) + " @08@[@0E@27@08@] @0F@" + Pad(t27_5046.s650, 25) + " @08@│@0F@ C"
Print "@0F@ T @08@│ @08@[@0E@ 8@08@] @0F@" + Pad(t27_5046.s175, 25) + " @08@[@0E@28@08@] @0F@" + Pad(t27_5046.s675, 25) + " @08@│@0F@ T"
Print " @08@│ @08@[@0E@ 9@08@] @0F@" + Pad(t27_5046.s200, 25) + " @08@[@0E@29@08@] @0F@" + Pad(t27_5046.s700, 25) + " @08@│"
Print "@0F@ C @08@│ @08@[@0E@10@08@] @0F@" + Pad(t27_5046.s225, 25) + " @08@[@0E@30@08@] @0F@" + Pad(t27_5046.s725, 25) + " @08@│@0F@ C"
Print "@0F@ A @08@│ @08@[@0E@11@08@] @0F@" + Pad(t27_5046.s250, 25) + " @08@[@0E@31@08@] @0F@" + Pad(t27_5046.s750, 25) + " @08@│@0F@ A"
Print "@0F@ T @08@│ @08@[@0E@12@08@] @0F@" + Pad(t27_5046.s275, 25) + " @08@[@0E@32@08@] @0F@" + Pad(t27_5046.s775, 25) + " @08@│@0F@ T"
Print "@0F@ E @08@│ @08@[@0E@13@08@] @0F@" + Pad(t27_5046.s300, 25) + " @08@[@0E@33@08@] @0F@" + Pad(t27_5046.s800, 25) + " @08@│@0F@ E"
Print "@0F@ G @08@│ @08@[@0E@14@08@] @0F@" + Pad(t27_5046.s325, 25) + " @08@[@0E@34@08@] @0F@" + Pad(t27_5046.s825, 25) + " @08@│@0F@ G"
Print "@0F@ O @08@│ @08@[@0E@15@08@] @0F@" + Pad(t27_5046.s350, 25) + " @08@[@0E@35@08@] @0F@" + Pad(t27_5046.s850, 25) + " @08@│@0F@ O"
Print "@0F@ R @08@│ @08@[@0E@16@08@] @0F@" + Pad(t27_5046.s375, 25) + " @08@[@0E@36@08@] @0F@" + Pad(t27_5046.s875, 25) + " @08@│@0F@ R"
Print "@0F@ I @08@│ @08@[@0E@17@08@] @0F@" + Pad(t27_5046.s400, 25) + " @08@[@0E@37@08@] @0F@" + Pad(t27_5046.s900, 25) + " @08@│@0F@ I"
Print "@0F@ E @08@│ @08@[@0E@18@08@] @0F@" + Pad(t27_5046.s425, 25) + " @08@[@0E@38@08@] @0F@" + Pad(t27_5046.s925, 25) + " @08@│@0F@ E"
Print "@0F@ S @08@│ @08@[@0E@19@08@] @0F@" + Pad(t27_5046.s450, 25) + " @08@[@0E@39@08@] @0F@" + Pad(t27_5046.s950, 25) + " @08@│@0F@ S"
Print " @08@│ @08@[@0E@20@08@] @0F@" + Pad(t27_5046.s475, 25) + " @08@[@0E@40@08@] @0F@" + Pad(t27_5046.s975, 25) + " @08@│"
s4910 = InputMask("Please select a product category, or [@0F@Q@0E@]uit. ", "XX", "", 1213417543)
If Val(s4910) >= 1 And Val(s4910) <= 40 Then
GoTo 19122
End If
19116 Loop
19122 If Exists(s4932 + s4910 + "PROD.DAT") Then
GoTo 19160
End If
19154 Loop
19160 MorePrompt(0)
Print "@0E@Download comma-delimited inventory file? Y/N: ";
s4978 = ""
Do
Do
19183 s4978 = InKey(1213417543)
Loop Until s4978 <> ""
s65520_ = UCase(s4978)
If s65520_ = "Y" Then
GoTo 19287
Else
19252 If s65520_ = "N" Then
GoTo 1360
GoTo 19281
End If
End If
19281 Loop
19287 Open s4932 + s4910 + "PROD.DAT" For Random As 4 Len = 219 '! This value should probably be replaced with a "SizeOf" expression
Open s4932 + s4910 + "PROD.TXT" For Output As 5
i4972 = 1
Do
19358 Get 4, i4972, t28_4467 '! 219 bytes
s6064 = s4914 + t28_4467.s207 + s4914 + t28_4467.s211 + s4914 + t28_4467.s215 + Chr(34)
Print #5, Chr(34) + t28_4467.s0 + s4914 + t28_4467.s20 + s4914 + t28_4467.s30 + s4914 + t28_4467.s80 + s4914 + t28_4467.s130 + s4914 + t28_4467.s180 + s4914 + t28_4467.s188 + s4914 + t28_4467.s201 + s6064
i4972 = i4972 + 1
Loop While Not EOF(4)
Close 4
Close 5
MorePrompt(0)
SendFile(s4932 + s4910 + "PROD.TXT", 1213417543)
Del s4932 + s4910 + "PROD.TXT"
Loop
19680 Locate 14, 14
If InputYesNo("@1E@Upload and attach a file to an ad? Y/N @0E@", 1213417543) Then
Do
19706 Cls
Print " @08@